package com.guangpan.springboot.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface TaskService {

    public void transfer(String fileName,String userId);

    //上传图片
    public void upload(MultipartFile file,String path,String fileName) throws IOException;

    //生成新的文件名
    public String getFileName(String fileName);
}
